/**

   All content copyright (c) 2003-2008 Terracotta, Inc.,
   except as may otherwise be noted in a separate copyright notice.
   All rights reserved.

*/
package org.sanoujam;

public class Service {

  private int counter;
  
  public void updateCounter() {
    synchronized(this) {
      counter++;
    }
  }
  
  public String toString() {
     return Integer.toString(counter);
  }
  
}
